package com.xuan.model;

public class Acc_details {
    private int detail_id;
    private String top_img;
    private int state;
    private int serve_count;
    private String order_receiving_time ;
    private String can_yield;
    private String  can_dan ;
    private String game_feature;
    private Section accompanying_play;

    public Acc_details() {
        super();
    }
    public Acc_details(int detail_id, String top_img, int state, int serve_count, String order_receiving_time,
                       String can_yield, String can_dan, String game_feature, Section accompanying_play) {
        super();
        this.detail_id = detail_id;
        this.top_img = top_img;
        this.state = state;
        this.serve_count = serve_count;
        this.order_receiving_time = order_receiving_time;
        this.can_yield = can_yield;
        this.can_dan = can_dan;
        this.game_feature = game_feature;
        this.accompanying_play = accompanying_play;
    }
    public int getDetail_id() {
        return detail_id;
    }
    public void setDetail_id(int detail_id) {
        this.detail_id = detail_id;
    }
    public String getTop_img() {
        return top_img;
    }
    public void setTop_img(String top_img) {
        this.top_img = top_img;
    }
    public int getState() {
        return state;
    }
    public void setState(int state) {
        this.state = state;
    }
    public int getServe_count() {
        return serve_count;
    }
    public void setServe_count(int serve_count) {
        this.serve_count = serve_count;
    }
    public String getOrder_receiving_time() {
        return order_receiving_time;
    }
    public void setOrder_receiving_time(String order_receiving_time) {
        this.order_receiving_time = order_receiving_time;
    }
    public String getCan_yield() {
        return can_yield;
    }
    public void setCan_yield(String can_yield) {
        this.can_yield = can_yield;
    }
    public String getCan_dan() {
        return can_dan;
    }
    public void setCan_dan(String can_dan) {
        this.can_dan = can_dan;
    }
    public String getGame_feature() {
        return game_feature;
    }
    public void setGame_feature(String game_feature) {
        this.game_feature = game_feature;
    }
    public Section getAccompanying_play() {
        return accompanying_play;
    }
    public void setAccompanying_play(Section accompanying_play) {
        this.accompanying_play = accompanying_play;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + detail_id;
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        Acc_details other = (Acc_details) obj;
        if (detail_id != other.detail_id)
            return false;
        return true;
    }

    @Override
    public String toString() {
        return "Acc_details [detail_id=" + detail_id + ", top_img=" + top_img + ", state=" + state
                + ", serve_count=" + serve_count + ", order_receiving_time=" + order_receiving_time
                + ", can_yield=" + can_yield + ", can_dan=" + can_dan + ", game_feature=" + game_feature
                + ", accompanying_play=" + accompanying_play + "]";
    }
}
